package zx.x.modules.yshapp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 */
@Data
@TableName("y_goods")
public class GoodsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Integer id;

	private String name;

	private String coverPic;

	private BigDecimal price;

	private Date cjTime;

	private Integer deleteFlag;

	private String subname;

	private Integer supportPoint;

	private Integer type;

	private Date updateTime;

	private Integer onSale;

	private Integer communityId;

	private String goodsDetail;

	@TableField(exist = false)
	private List<PicAddressEntity> lbPicList;//商品轮播图集合
	@TableField(exist = false)
	private List<PicAddressEntity> detailPicList;//商品详情图集合

}
